package com.fpd.model.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class EnterMoneyBackRecord {

    //唯一主键
    private String id;

    //合同号
    private String contractNumber;

    //客户ID
    private String custNo;

    //逾期天数
    private Integer yuqiDay;

    //逾期阶段
    private String yuqiDayQuantum;

    //导入人ID
    private String userId;

    //逾期金额
    private BigDecimal yuqiAmount;

    //剩余金额
    private BigDecimal leftAmount;

    //导入还款金额
    private BigDecimal enterAmount;

    //还款时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date backTime;

    //还款时间段
    private Integer backTimeQuantum;

    //委案日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date caseBeginTime;

    //退案日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date caseEndTime;

    //客户姓名
    private String custName;

    //还款方式 1:对公 2:非对公
    private Integer backType;

    //客服
    private String customerCare;

    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    //修改时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    //累积剩余金额
    private BigDecimal totalLeftAmount;

}